package cn.org.donald.pojo.dto.system;

import cn.org.donald.framework.pojo.dto.Page;
import cn.org.donald.pojo.entity.system.LogSql;

import javax.validation.constraints.NotBlank;

/**
 * @author : Donald
 * @since : 2021/2/9 16:56
 */
public class QueryLogSqlByMethodDto extends Page<LogSql> {

    @NotBlank(message = "方法名不能为空!")
    private String method;

    @NotBlank(message = "服务名不能为空!")
    private String application;

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getApplication() {
        return application;
    }

    public void setApplication(String application) {
        this.application = application;
    }
}
